/**
 * Copyright (C), 2019-2022, 宇信融汇
 * FileName: Tiger
 * Author:   666
 * Date:     2022/1/15 16:19
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 666           修改时间           版本号              描述
 */
package com.abstractdemo;

/**
 * @Classname Tiger
 * @Description TODO
 * @Date 2022/1/15 16:19
 * @Created by 666
 */
public class Tiger extends Animal{
    @Override
    public void run() {
        System.out.println("老虎可以跑");
    }

    @Override
    public void eat() {
        System.out.println("吃饭");
    }

    public static void main(String[] args) {
        Tiger t = new Tiger();
        t.run();
        t.setName("老虎");
    }
}
